package com.sandwich.common;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class SimpleResponse<T> {
    private List<T> data;
    private int statusCode = Commons.SUCCESS_CODE;

    public SimpleResponse() {
    }

    public SimpleResponse(List<T> data) {
        this.data = data;
    }
}
